package com.demo.spring.componentScan.demo2;

import org.springframework.stereotype.Component;

@Component
public class Teacher {

	public void say() {
		System.out.println("teacher");
	}

}
